def Waves(n):
    """
    获取波浪天数均线
    n = 线的组数
    """
    Buy, Sell, Total = [], [], []
    main, side = 5, 3
    total = main + side
    Total.append(total)
    Buy.append(main)
    Sell.append(side)
    for i in range(n):
        buy = main * 3 + side * 2
        sell = main * 2 + side
        total = buy + sell
        main, side = buy, sell
        Buy.append(buy)
        Sell.append(sell)
        Total.append(total)

    DC = []

    DC.extend(Buy)
    DC.extend(Sell)
    DC.extend(Total)

    return DC


def fibonacci(r):
    r = r * 3
    lists = []
    a = 1
    b = 0
    for i in range(r):
        c = a + b
        b = a
        a = c
        print(a)
        lists.append(a)